package com.wwj.study.proxy.study;

import com.wwj.study.proxy.Person;
import com.wwj.study.proxy.Zhangsan;

import java.io.IOException;

/**
 * Created by lenovo on 2018/11/18.
 */
public class StudyProxyTest {

    public static void main(String[] args) throws Exception {
        Object object=new StudyMeipo().getInstance(new Zhangsan());
        Person person = (Person)object;
        person.findLove();
    }
}
